MindFusion.Wpf Pack Programmer's Guide
Diagram.GetItemAt Method (Point, Predicate(DiagramItem), Boolean, Boolean, Boolean, Boolean)
See Also
 





Returns the top-most diagram item lying at the specified location.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    Point point,
    Predicate<DiagramItem> predicate,
    bool exclLocked,
    bool includeHandles,
    bool includeLabels,
    bool activeFirst
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As Point, _
    predicate As Predicate(Of DiagramItem), _
    exclLocked As Boolean, _
    includeHandles As Boolean, _
    includeLabels As Boolean, _
    activeFirst As Boolean _
) As DiagramItem

 Parameters

point

Specifies a location in the diagram where to look for items.

predicate

A predicate specifying which items to hit-test.

exclLocked

Specifies whether locked links should be excluded from the search.

includeHandles

true to also consider adjustment handle locations (possibly outside of item's bounds).

includeLabels

true to also consider item label locations (possibly outside of item's bounds).

activeFirst

Specifies whether to test ActiveItem first, disregarding Z order.

 Return Value

A DiagramItem instance found at the specified point.

 See Also

GetItemAt Method Overload List
Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace